Skip to content

fix(rhdh-release): improve release_notes JQL to check all required fields#53

Open
jasperchui wants to merge 1 commit into
mainfrom
feat/release-notes-jql-update
Open

fix(rhdh-release): improve release_notes JQL to check all required fields#53
jasperchui wants to merge 1 commit into
mainfrom
feat/release-notes-jql-update

Conversation

@jasperchui

Copy link
Copy Markdown

Summary

  • Updates the release_notes JQL template to comprehensively check all release note fields, not just whether Release Note Type is empty
  • Excludes CVEs (summary !~ "CVE-*"), obsolete/duplicate/Won't Do resolutions, and issues marked "Release Note Not Required"
  • Verifies that Release Note Status, Release Note Text, and Release Note Type Dropdown are all properly completed

Before

... and "Release Note Type" is EMPTY and fixVersion = "{{RELEASE_VERSION}}"

Only caught issues where Release Note Type was completely empty.

After

... and ("Release Note Type" not in ("Release Note Not Required") or "release note type" is empty)
and ("Release Note Status" not in ("In Progress", Proposed, Done) or "Release Note Text[Paragraph]" is empty or "Release Note Type[Dropdown]" is empty)
and summary !~ "CVE-*"
and (resolution not in (obsolete, duplicate, "Won't Do") or resolution is empty)
and fixVersion = "{{RELEASE_VERSION}}"

Test plan

  • Verified query returns 22 results for COPE team on 2.1.0 (vs 23 with old query)
  • Results correctly exclude CVEs and completed release notes

Made with Cursor

…elds

The previous query only checked if "Release Note Type" was empty. The
updated query also verifies Release Note Status, Release Note Text, and
Release Note Type Dropdown are properly filled in, and excludes CVEs,
obsolete/duplicate/Won't Do resolutions, and issues marked as "Release
Note Not Required".

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant